package com.etc.shangpin.service.impl;

import com.etc.shangpin.dao.ShangpinMapper;
import com.etc.shangpin.pojo.SpecshangpinPojo;
import com.etc.shangpin.service.ShangPinServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShangPinServiceImpl implements ShangPinServcie {

    @Autowired
    ShangpinMapper mapper;

    @Override
    public List<SpecshangpinPojo> findAllSepList() {
        return mapper.queryAllspece();
    }
}
